package org.grayrabbit.commons.util.logging.slf4j;

import org.grayrabbit.commons.util.logging.Logger;
import org.grayrabbit.commons.util.logging.LoggerFactory;

public class Slf4jLoggerFactory extends LoggerFactory{

	@Override
	protected Logger getLoggerImpl(Class<?> cls) {
		return new Slf4jLogger(org.slf4j.LoggerFactory.getLogger(cls));
	}

	@Override
	protected Logger getLoggerImpl(String name) {
		return new Slf4jLogger(org.slf4j.LoggerFactory.getLogger(name));
	}

}
